Package-level declarations

This package contains the KeyManager interface and implementations, which are used to manage keys for signing and encryption.

Types

Link copied to clipboard

AlgorithmId - combination of valid curve and algorithm.

Link copied to clipboard
class AwsKeyManager constructor(kmsClient: <Error class: unknown class> = AWSKMSClientBuilder.standard().build()) : KeyManager

A KeyManager that uses AWS KMS for remote storage of keys and signing operations. Caller is expected to provide connection details for AWSKMS client as per Configure the AWS CLI

Link copied to clipboard
object Crypto

Cryptography utility object providing key generation, signature creation, and other crypto-related functionalities.

Link copied to clipboard

Implementation of the KeyGenerator and Signer interfaces, specifically utilizing the Ed25519 elliptic curve digital signature algorithm. This implementation provides functionality to generate key pairs, compute public keys from private keys, and sign/verify messages utilizing Ed25519.

Link copied to clipboard

A class for managing cryptographic keys in-memory.

Link copied to clipboard
enum Jwa : Enum<Jwa>

JSON Web Algorithm.

Link copied to clipboard

JSON Web Algorithm Curve.

Link copied to clipboard
interface KeyExporter

KeyExporter is an abstraction that can be leveraged to implement types which intend to export keys.

Link copied to clipboard
interface KeyGenerator

The KeyGenerator interface provides a blueprint for implementing cryptographic key generation and conversion functionalities for various cryptographic algorithms and key types.

Link copied to clipboard
interface KeyGenOptions

KeyGenOptions serves as an interface defining options or parameters that influence cryptographic key generation within the KeyGenerator interface.

Link copied to clipboard
interface KeyImporter

KeyImporter is an abstraction that can be leveraged to implement types which intend to import keys.

Link copied to clipboard
interface KeyManager

A key management interface that provides functionality for generating, storing, and utilizing private keys and their associated public keys. Implementations of this interface should handle the secure generation and storage of keys, providing mechanisms for utilizing them in cryptographic operations like signing.

Link copied to clipboard

A cryptographic object responsible for key generation, signature creation, and signature verification utilizing the SECP256K1 elliptic curve, widely used for Bitcoin and Ethereum transactions.

Link copied to clipboard
interface Signer

An interface defining the contract for signing and verifying signatures on payloads.

Link copied to clipboard
interface SignOptions

A marker interface to represent options used during signing operations.

Link copied to clipboard
interface VerifyOptions

A marker interface to represent options used during signature verification operations.